/*
 #####################################################################
 # File    : UIGlobal.h
 # Project : iPad_Ehire
 # Created : 2011-06-10
 # DevTeam : 51job Development Team
 # Author  : solomon (xmwen@126.com)
 # Notes   : Define the common size of UI controls
 #####################################################################
 ### Change Logs   ###################################################
 #####################################################################
 ---------------------------------------------------------------------
 # Date  :
 # Author:
 # Notes :
 #
 #####################################################################
 */

#define UI_BAR_HEIGHT                             44
#define UI_TABLE_ROW_HEIGHT                       44
#define UI_TABLE_MARGIN                           10
#define UI_TABLE_REFRESH_HEIGHT                   52
#define UI_STATUSBAR_HEIGHT                       20
#define UI_BUTTON_HEIGHT                          30
#define UI_BUTTON_WIDTH                           92

#define UI_HORIZONTAL_HEIGHT                      748      // 768 - 20
#define UI_HORIZONTAL_WIDTH                       1024

#define UI_HORIZONTAL_LEFT_WIDTH                  320
#define UI_HORIZONTAL_LEFT_CONTENT_HEIGHT         660      // 768 - 20 - 44 - 44
#define UI_HORIZONTAL_RIGHT_WIDTH                 704      // 1024 - 320

#define UI_HORIZONTAL_FULL_BUTTON_WIDTH           UI_HORIZONTAL_LEFT_WIDTH - 20

#define UI_HORIZONTAL_POP_WIDTH                   280
#define UI_HORIZONTAL_POP_HEIGHT                  420
#define UI_HORIZONTAL_POP_MARGIN                  10
#define UI_HORIZONTAL_POP_TABLE_WIDTH             UI_HORIZONTAL_POP_WIDTH - 2 * UI_HORIZONTAL_POP_MARGIN
#define UI_HORIZONTAL_POP_TABLE_HEIGHT            UI_HORIZONTAL_POP_HEIGHT - 2 * UI_HORIZONTAL_POP_MARGIN

/** Dump CGRect **/
#define DumpCGrect(rect) NSLog(@"CGRect: (%f, %f, %f, %f)", rect.origin.x, rect.origin.y, rect.size.width, rect.size.height);

typedef enum{
	EhireCategoryStyleNull = 0,
	EhireCategoryStyleInbox,
	EhireCategoryStyleTalent,
	EhireCategoryStyleSearch,
	EhireCategoryStyleTemp,
	EhireCategoryStyleRecycle,
}EhireCategoryStyle;

typedef enum{
	DetailViewActionTypeTag,
	DetailViewActionTypeMessage,
	DetailViewActionTypeForward,
	DetailViewActionTypeDownload,
	DetailViewActionTypeDel,
	DetailViewActionTypeMove,
	DetailViewActionTypeResumeLoadSucceeded,
	DetailViewActionTypeResumeLoadFailed,
}DetailViewActionType;

typedef enum{
	DetailViewActionStatusComplete,
	DetailViewActionStatusPending,
}DetailViewActionStatus;

typedef enum {
	MVAddViewLoadingFromTop,
	MVAddViewLoadingFromBottom,
	MVAddViewLoadingFromLeft,
	MVAddViewLoadingFromRight,
}MVAddViewLoadingDirection;

typedef enum {
	MVOnGoingAnimationNone,
	MVOnGoingAnimationAdd,
	MVOnGoingAnimationRemoveSingle,
	MVOnGoingAnimationRemoveAll,
	MVOnGoingAnimationPageCurl,
	MVOnGoingAnimationPageUnCurl,
}MVOnGoingAnimationType;

